-- GENERATED SPELL FOR [Dark Guard] --


function spell0_9445(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(15580,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9445', 605, 1)
end

function Sorts_9445(pUnit, Event)
local choix_sorts_9445 = math.random(0, 0)
if choix_sorts_9445 == 0 then
pUnit:RegisterEvent('spell0_9445', 1, 1)
end
end

function mob9445_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9445', math.random(1500, 3000), 1)
end

function mob9445_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9445_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9445_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9445, 1, 'mob9445_Action')
RegisterUnitEvent(9445, 2, 'mob9445_Leave')
RegisterUnitEvent(9445, 3, 'mob9445_Kill')
RegisterUnitEvent(9445, 4, 'mob9445_Die')
